class Modifyusers < ActiveRecord::Migration
  def self.up
   remove_column :users,:sn
   remove_column :users,:general_info
   remove_column :users,:work_start_time
   remove_column :users,:work_end_time
   remove_column :users,:removed
   remove_column :users,:tel
   add_column :users, :tel_mobile, :string, :limit=>30
   add_column :users, :tel_home, :string, :limit=>30
   add_column :users, :tel_work, :string, :limit=>30
   add_column :users, :tel_work_ext, :string, :limit=>30
   add_column :users, :qq, :string, :limit=>30
   add_column :users, :msn, :string, :limit=>50
   add_column :users, :gtalk, :string, :limit=>50
  end

  def self.down
  end
end
